<template>
  <div>
    <el-alert
      title="企业微信的接口"
      type="success">
    </el-alert>
    <iframe
      id="iframeId"
      v-if="load"
      v-bind:src="url"
      border="0"
      frameborder="no"
      framespacing="0"
      width="95%"
      height="600"
      allowfullscreen="true"
    >
    </iframe>
  </div>

</template>

<script>
import {backendRBACServer} from '@/api/index'
export default {
  name: "WeChatAPIDocument",
  data() {
    return {
      backendRBACServer: backendRBACServer,
      publicPath: process.env.BASE_URL,
      load:true,
      url: backendRBACServer+":8403/swagger-ui/index.html",
    };
  },
};
</script>

<style scoped>
  .db-document-frame{
    margin-top: 40px;
    background-color:transparent;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left:0;
  }

</style>